% % 4. Random symmetric 4x4
% A= rand(2);
% A=(A+A')/2;
% creatematrix(A,4)
% % 5. Random symmetric 10x10
% A= rand(4);
% A=(A+A')/2;
% creatematrix(A,5)
% % 6. Random symmetric 20x20
% A= rand(8);
% A=(A+A')/2;
% creatematrix(A,6)
% % 6. Random symmetric 20x20
% A= rand(16);
% A=(A+A')/2;
% creatematrix(A,7)
% % 6. Random symmetric 20x20
% A= rand(32);
% A=(A+A')/2;
% creatematrix(A,8)
% % 6. Random symmetric 20x20
% A= rand(64);
% A=(A+A')/2;
% creatematrix(A,9)

% 4. Random symmetric 4x4
A= rand(4);
A=(A+A')/2
creatematrix(A,4)
% 5. Random symmetric 10x10
A= rand(16);
A=(A+A')/2
creatematrix(A,5)
% 6. Random symmetric 20x20
A= rand(32);
A=(A+A')/2
creatematrix(A,6)
% 6. Random asymmetric 20x20
A= rand(4);
creatematrix(A,7)
% 6. Random asymmetric 20x20
A= rand(16);
creatematrix(A,8)
% 6. Random asymmetric 20x20
A= rand(32);
creatematrix(A,9)



% % 7. Random asymmetric 4x4
% A= rand(4);
% creatematrix(A,7)
% % 8. Random asymmetric 10x10
% A= rand(10);
% creatematrix(A,8)
% % 9. Random asymmetric 20x20
% A= rand(20);
% creatematrix(A,9)
% % 10. Bad condition symmetric 10x10
% LV = logspace(-2,5,10);
% VV = orth(rand(10));
% V= VV*diag(LV)/VV;
% A=V*diag([1:10])/V;
% A=(A+A')/2;
% creatematrix(A,7)
% % 11. Bad condition asymmetric 10x10
% LV = logspace(-2,5,10);
% VV = orth(rand(10));
% V= VV*diag(LV)/VV;
% A=V*diag([1:10])/V;
% creatematrix(A,6)